package cn.maihe.elg.operation.centers.follow.channel.service;

import cn.maihe.elg.operation.centers.follow.channel.FollowBaseCenterChannelService;
import cn.maihe.elg.operation.centers.follow.channel.dto.FollowBaseRespDTO;
import cn.maihe.elg.operation.centers.follow.channel.dto.GuarantorStatusNoticeReqDTO;
import cn.maihe.elg.operation.centers.follow.config.FollowConfig;
import cn.maihe.elg.operation.centers.follow.enums.MethodEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author WJH
 * @Date 2021/09/19
 */
@Service
@Slf4j
public class GuarantorStatusNoticeChannelService extends FollowBaseCenterChannelService<GuarantorStatusNoticeReqDTO, FollowBaseRespDTO> {

    @Override
    protected MethodEnum methodEnum() {
        return MethodEnum.guarantorStatusNotice;
    }

    @Override
    protected String getUrl(FollowConfig followConfig) {
        return followConfig.getBaseUrl()+followConfig.getApplyGuarantorUrl();
    }

}
